package ca.ubc.icapture.genapha.forms;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

import javax.servlet.http.HttpServletRequest;
import java.util.ArrayList;

import icapture.beans.DB.Gene;
import icapture.beans.DB.GeneLink;

/**
 * Created by IntelliJ IDEA.
 * User: btripp
 * Date: Sep 13, 2006
 * Time: 9:39:23 AM
 * To change this template use File | Settings | File Templates.
 */
public class GeneListForm extends ActionForm
{

    private ArrayList<GeneLink> geneList;
    private String submitType;

    @Override
    public void reset(ActionMapping mapping, HttpServletRequest request)
    {
        getGeneList().clear();
    }

    public ArrayList<GeneLink> getGeneList()
    {
        return geneList;
    }

    public void setGeneList(ArrayList<GeneLink> geneList)
    {
        this.geneList = geneList;
    }

    public String getSubmitType()
    {
        return submitType;
    }

    public void setSubmitType(String submitType)
    {
        this.submitType = submitType;
    }
}
